#ifndef HTMLGenerator__H
#define HTMLGenerator__H

#include "config.h"
#include "ElementXML.h"
#include "NodeXML.h"
#include "XML.h"
#include <map>

using namespace std;

class HTMLGenerator{

public:

HTMLGenerator(const XML * xslSheet);
bool isApplyTemplate(ElementXML * templ);
bool seekForTemplate(string name);
string treeTransformation(const XML * xslSheet);
string treeToHTML(NodeXML * root);

protected:
map<string, NodeXML *> mapXsl;
};
#endif
